import axios from 'axios';
import {adminApiPath} from "./adminApiPath";

const baseUrl = adminApiPath.admin.file;

export const uploadFile = async (data: any) => {
    const res = await axios.post(baseUrl.upload, data);
    return res.data;
};
